<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>个人中心 - 奢享时光</title>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
  <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
  <style>
    :root {
      --primary-gradient: linear-gradient(135deg, #7F00FF, #E100FF);
      --secondary-gradient: linear-gradient(135deg, #00F5A0, #00D9F5);
      --primary-color: #7F00FF;
      --secondary-color: #00F5A0;
      --accent-color: #FFE600;
      --dark-bg: #2D1B69;
      --light-bg: #6B3FA0;
      --text-light: #FFFFFF;
      --text-secondary: #E0D5FF;
      --card-bg: rgba(255, 255, 255, 0.1);
      --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
      --border-radius: 16px;
      --border: 1px solid rgba(255, 255, 255, 0.18);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      -webkit-tap-highlight-color: transparent;
    }

    body {
      font-family: 'Noto Sans SC', 'Poppins', sans-serif;
      background: var(--dark-bg);
      color: var(--text-light);
      font-size: 14px;
      line-height: 1.5;
      overflow-x: hidden;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    button {
      font-family: inherit;
      cursor: pointer;
      border: none;
      outline: none;
    }

    .app-container {
      max-width: 480px;
      margin: 0 auto;
      min-height: 100vh;
      background: linear-gradient(180deg, var(--dark-bg), var(--light-bg));
      position: relative;
      overflow: hidden;
      padding-bottom: 70px;
    }

    /* 背景装饰 */
    .bg-decoration {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 0;
      pointer-events: none;
      overflow: hidden;
    }

    .bg-circle {
      position: absolute;
      border-radius: 50%;
    }

    .bg-circle:nth-child(1) {
      width: 300px;
      height: 300px;
      top: -150px;
      right: -100px;
      background: radial-gradient(circle, rgba(225, 0, 255, 0.2), rgba(225, 0, 255, 0));
    }

    .bg-circle:nth-child(2) {
      width: 250px;
      height: 250px;
      bottom: 10%;
      left: -100px;
      background: radial-gradient(circle, rgba(0, 245, 160, 0.15), rgba(0, 245, 160, 0));
    }

    /* 顶部导航 */
    .header {
      position: sticky;
      top: 0;
      z-index: 100;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      background: rgba(45, 27, 105, 0.8);
      padding: 15px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: var(--border);
    }

    .page-title {
      font-size: 18px;
      font-weight: 600;
    }

    .header-actions {
      display: flex;
      gap: 15px;
    }

    .header-actions i {
      font-size: 18px;
      color: var(--text-light);
      opacity: 0.9;
    }

    /* 内容区域 */
    .content {
      position: relative;
      z-index: 1;
      padding: 20px;
    }

    /* 用户卡片 */
    .user-card {
      position: relative;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: var(--border);
      border-radius: var(--border-radius);
      padding: 25px 20px;
      margin-bottom: 25px;
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .card-bg {
      position: absolute;
      top: 0;
      right: 0;
      width: 120px;
      height: 120px;
      opacity: 0.05;
    }

    .user-info {
      display: flex;
      align-items: center;
      gap: 15px;
      position: relative;
      z-index: 1;
    }

    .user-avatar {
      width: 70px;
      height: 70px;
      border-radius: 50%;
      background: var(--secondary-gradient);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 28px;
      box-shadow: 0 5px 15px rgba(0, 245, 160, 0.3);
      position: relative;
    }

    .user-level-badge {
      position: absolute;
      bottom: 0;
      right: 0;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: var(--accent-color);
      color: var(--dark-bg);
      font-size: 12px;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .user-details {
      flex: 1;
    }

    .user-name {
      font-size: 18px;
      font-weight: 600;
      margin-bottom: 5px;
    }

    .user-id {
      font-size: 12px;
      color: var(--text-secondary);
      margin-bottom: 8px;
    }

    .user-level {
      display: inline-block;
      padding: 3px 10px;
      background: var(--primary-gradient);
      border-radius: 100px;
      font-size: 12px;
      margin-bottom: 5px;
    }

    .edit-profile {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
    }

    /* 资产统计 */
    .user-assets {
      display: flex;
      justify-content: space-between;
      padding-top: 20px;
      margin-top: 15px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      position: relative;
      z-index: 1;
    }

    .asset-item {
      text-align: center;
    }

    .asset-value {
      font-size: 18px;
      font-weight: 600;
      margin-bottom: 5px;
    }

    .asset-label {
      font-size: 12px;
      color: var(--text-secondary);
    }

    /* 团队统计 */
    .team-section {
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: var(--border);
      border-radius: var(--border-radius);
      padding: 20px;
      margin-bottom: 25px;
      box-shadow: var(--shadow);
    }

    .team-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
    }

    .team-title {
      font-size: 16px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .team-title i {
      color: var(--accent-color);
    }

    .team-stats {
      display: flex;
      gap: 15px;
      margin-bottom: 20px;
    }

    .team-stat {
      flex: 1;
      background: rgba(255, 255, 255, 0.05);
      border-radius: 12px;
      padding: 15px;
      text-align: center;
    }

    .stat-value {
      font-size: 22px;
      font-weight: 700;
      margin-bottom: 5px;
      background: var(--secondary-gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .stat-label {
      font-size: 12px;
      color: var(--text-secondary);
    }


    .team-chart {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }

    .center-node {
      position: absolute;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background: var(--primary-gradient);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 3;
      box-shadow: 0 5px 15px rgba(127, 0, 255, 0.3);
    }

    .first-level-nodes {
      position: absolute;
      width: 150px;
      height: 150px;
      border-radius: 50%;
      border: 1px dashed rgba(255, 255, 255, 0.1);
      z-index: 1;
    }

    .first-node {
      position: absolute;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: var(--secondary-gradient);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      color: var(--dark-bg);
      box-shadow: 0 3px 8px rgba(0, 245, 160, 0.3);
    }

    .node-1 {
      top: 10px;
      left: 60px;
    }

    .node-2 {
      top: 60px;
      right: 10px;
    }

    .node-3 {
      bottom: 10px;
      right: 60px;
    }

    .center-count {
      font-size: 24px;
      font-weight: 700;
      color: var(--text-light);
    }

    /* 会员权益 */
    .benefits-section {
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: var(--border);
      border-radius: var(--border-radius);
      padding: 20px;
      margin-bottom: 25px;
      box-shadow: var(--shadow);
    }

    .benefits-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
    }

    .benefits-title {
      font-size: 16px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .benefits-title i {
      color: var(--accent-color);
    }

    .tabs {
      display: flex;
      gap: 10px;
      margin-bottom: 20px;
    }

    .tab {
      padding: 5px 15px;
      border-radius: 100px;
      background: rgba(255, 255, 255, 0.05);
      font-size: 13px;
      color: var(--text-secondary);
      transition: all 0.3s ease;
    }

    .tab.active {
      background: var(--primary-gradient);
      color: var(--text-light);
    }

    .benefits-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 15px;
    }

    .benefit-card {
      background: rgba(255, 255, 255, 0.05);
      border-radius: 12px;
      padding: 15px;
      display: flex;
      gap: 10px;
      align-items: center;
    }

    .benefit-icon {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      color: var(--secondary-color);
    }

    .benefit-details {
      flex: 1;
    }

    .benefit-name {
      font-size: 14px;
      font-weight: 500;
      margin-bottom: 3px;
    }

    .benefit-desc {
      font-size: 11px;
      color: var(--text-secondary);
    }

    /* 底部导航 */
    .bottom-nav {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      max-width: 480px;
      margin: 0 auto;
      background: rgba(45, 27, 105, 0.8);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border-top: var(--border);
      display: flex;
      justify-content: space-around;
      padding: 12px 0;
      z-index: 100;
    }

    .nav-button {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 5px;
      color: var(--text-secondary);
      font-size: 12px;
      padding: 5px 0;
      flex: 1;
      transition: all 0.3s ease;
    }

    .nav-button i {
      font-size: 18px;
      margin-bottom: 2px;
    }

    .nav-button.active {
      color: var(--accent-color);
    }

    .middle-button {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: var(--primary-gradient);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      color: var(--text-light);
      box-shadow: 0 5px 15px rgba(127, 0, 255, 0.4);
      margin-top: -25px;
    }

    /* 响应式调整 */
    @media (max-width: 375px) {
      .level-step {
        width: 50px;
      }
      
      .step-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
      }
      
      .path-line,
      .path-progress {
        top: 25px;
      }
      
      .user-avatar {
        width: 60px;
        height: 60px;
        font-size: 24px;
      }
      
      .benefit-card {
        padding: 12px;
      }
      
      .benefit-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
      }
      
      .status-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
      }
      
      .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px 5px;
      }
      
      .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
      }
      
      .feature-name {
        font-size: 11px;
      }
    }

    /* 订单状态 */
    .order-section {
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: var(--border);
      border-radius: var(--border-radius);
      padding: 20px;
      margin-bottom: 25px;
      box-shadow: var(--shadow);
    }

    .order-status {
      display: flex;
      justify-content: space-between;
      padding: 10px 0;
    }

    .status-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
    }

    .status-icon {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      color: var(--secondary-color);
      position: relative;
    }

    .status-badge {
      position: absolute;
      top: -5px;
      right: -5px;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: var(--accent-color);
      color: var(--dark-bg);
      font-size: 10px;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .status-name {
      font-size: 12px;
      color: var(--text-secondary);
    }

    /* 常用功能 */
    .features-section {
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: var(--border);
      border-radius: var(--border-radius);
      padding: 20px;
      margin-bottom: 25px;
      box-shadow: var(--shadow);
    }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px 10px;
      padding: 10px 0;
    }

    .feature-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
    }

    .feature-icon {
      width: 50px;
      height: 50px;
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      color: var(--secondary-color);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .feature-item:hover .feature-icon {
      transform: translateY(-5px);
      box-shadow: 0 5px 15px rgba(127, 0, 255, 0.2);
    }

    .feature-name {
      font-size: 12px;
      color: var(--text-secondary);
    }

    .section-title i {
      color: var(--accent-color);
    }
  </style>
</head>
<body>
  <div class="app-container">
    <!-- 背景装饰 -->
    <div class="bg-decoration">
      <div class="bg-circle"></div>
      <div class="bg-circle"></div>
    </div>

    <!-- 顶部导航 -->
    <header class="header">
      <div class="page-title">个人中心</div>
      <div class="header-actions">
        <i class="fas fa-cog"></i>
        <i class="fas fa-bell"></i>
      </div>
    </header>

    <!-- 主要内容 -->
    <main class="content">
      <!-- 用户卡片 -->
      <section class="user-card">
        <i class="fas fa-crown card-bg"></i>
        <div class="user-info">
          <div class="user-avatar">
            <i class="fas fa-user"></i>
            <div class="user-level-badge">V</div>
          </div>
          <div class="user-details">
            <div class="user-name">尊贵的用户</div>
            <div class="user-id">ID: 1001235</div>
            <a href="membership.html" class="user-level">VIP 会员</a>
          </div>
          <div class="edit-profile">
            <i class="fas fa-pen"></i>
          </div>
        </div>
        <div class="user-assets">
          <div class="asset-item">
            <div class="asset-value">3</div>
            <div class="asset-label">拼团券</div>
          </div>
          <div class="asset-item">
            <div class="asset-value">2</div>
            <div class="asset-label">幸运星</div>
          </div>
          <div class="asset-item">
            <div class="asset-value">1</div>
            <div class="asset-label">股权</div>
          </div>
          <a href="earnings.html" class="asset-item">
            <div class="asset-value">¥12385.83</div>
            <div class="asset-label">累计收益</div>
          </a>
        </div>
      </section>

      <!-- 团队统计 -->
      <section class="team-section">
        <div class="team-header">
          <div class="team-title">
            <i class="fas fa-users"></i>
            <span>我的团队</span>
          </div>
          <a href="team.html" class="view-all">
            <span>查看详情</span>
            <i class="fas fa-chevron-right"></i>
          </a>
        </div>
        <div class="team-stats">
          <div class="team-stat">
            <div class="stat-value">3</div>
            <div class="stat-label">直接邀请</div>
          </div>
          <div class="team-stat">
            <div class="stat-value">12</div>
            <div class="stat-label">团队总人数</div>
          </div>
          
        </div>
      </section>

      <!-- 订单状态 -->
      <section class="order-section">
        <div class="team-header">
          <div class="team-title">
            <i class="fas fa-shopping-bag"></i>
            <span>我的订单</span>
          </div>
          <a href="orders.html" class="view-all">
            <span>查看全部</span>
            <i class="fas fa-chevron-right"></i>
          </a>
        </div>
        <div class="order-status">
          <a href="orders.html" class="status-item">
            <div class="status-icon">
              <i class="fas fa-credit-card"></i>
              <div class="status-badge">2</div>
            </div>
            <div class="status-name">待付款</div>
          </a>
          <a href="orders.html" class="status-item">
            <div class="status-icon">
              <i class="fas fa-box"></i>
              <div class="status-badge">1</div>
            </div>
            <div class="status-name">待发货</div>
          </a>
          <a href="orders.html" class="status-item">
            <div class="status-icon">
              <i class="fas fa-truck"></i>
            </div>
            <div class="status-name">待收货</div>
          </a>
          <a href="orders.html" class="status-item">
            <div class="status-icon">
              <i class="fas fa-comment-dots"></i>
            </div>
            <div class="status-name">待评价</div>
          </a>
        </div>
      </section>

      <!-- 常用功能 -->
      <section class="features-section">
        <div class="team-header">
          <div class="team-title">
            <i class="fas fa-th-large"></i>
            <span>常用功能</span>
          </div>
          <div class="view-all">
            <span>更多</span>
            <i class="fas fa-chevron-right"></i>
          </div>
        </div>
        <div class="features-grid">
          <a href="wallet.html" class="feature-item">
            <div class="feature-icon">
              <i class="fas fa-wallet"></i>
            </div>
            <div class="feature-name">我的钱包</div>
          </a>
          <a href="auth.html" class="feature-item">
            <div class="feature-icon">
              <i class="fas fa-id-card"></i>
            </div>
            <div class="feature-name">实名认证</div>
          </a>
          <a href="invite.html" class="feature-item">
            <div class="feature-icon">
              <i class="fas fa-user-plus"></i>
            </div>
            <div class="feature-name">邀请好友</div>
          </a>
          <a href="service.html" class="feature-item">
            <div class="feature-icon">
              <i class="fas fa-headset"></i>
            </div>
            <div class="feature-name">联系客服</div>
          </a>
          <a href="cart.html" class="feature-item">
            <div class="feature-icon">
              <i class="fas fa-shopping-cart"></i>
            </div>
            <div class="feature-name">购物车</div>
          </a>
          <a href="address.html" class="feature-item">
            <div class="feature-icon">
              <i class="fas fa-map-marker-alt"></i>
            </div>
            <div class="feature-name">收货地址</div>
          </a>
          <a href="settings.html" class="feature-item">
            <div class="feature-icon">
              <i class="fas fa-cog"></i>
            </div>
            <div class="feature-name">设置</div>
          </a>
          <a href="help.html" class="feature-item">
            <div class="feature-icon">
              <i class="fas fa-question-circle"></i>
            </div>
            <div class="feature-name">帮助中心</div>
          </a>
        </div>
      </section>

      <!-- 会员权益
      <section class="benefits-section">
        <div class="benefits-header">
          <div class="benefits-title">
            <i class="fas fa-gift"></i>
            <span>会员权益</span>
          </div>
        </div>
        <div class="tabs">
          <div class="tab active">我的权益</div>
          <div class="tab">下一级权益</div>
        </div>
        <div class="benefits-grid">
          <div class="benefit-card">
            <div class="benefit-icon">
              <i class="fas fa-percentage"></i>
            </div>
            <div class="benefit-details">
              <div class="benefit-name">专属折扣</div>
              <div class="benefit-desc">商城享95折优惠</div>
            </div>
          </div>
          <div class="benefit-card">
            <div class="benefit-icon">
              <i class="fas fa-ticket-alt"></i>
            </div>
            <div class="benefit-details">
              <div class="benefit-name">额外赠券</div>
              <div class="benefit-desc">每月额外赠送1张</div>
            </div>
          </div>
          <div class="benefit-card">
            <div class="benefit-icon">
              <i class="fas fa-shipping-fast"></i>
            </div>
            <div class="benefit-details">
              <div class="benefit-name">优先发货</div>
              <div class="benefit-desc">订单优先处理</div>
            </div>
          </div>
          <div class="benefit-card">
            <div class="benefit-icon">
              <i class="fas fa-headset"></i>
            </div>
            <div class="benefit-details">
              <div class="benefit-name">专属客服</div>
              <div class="benefit-desc">优先接入人工客服</div>
            </div>
          </div>
        </div>
      </section> -->
    </main>

    <!-- 底部导航 -->
    <nav class="bottom-nav">
      <a href="index.html" class="nav-button">
        <i class="fas fa-home"></i>
        <span>首页</span>
      </a>
      <a href="groupbuy.html" class="nav-button">
        <i class="fas fa-users"></i>
        <span>拼团</span>
      </a>
      <a href="shares.html" class="nav-button">
        <i class="fas fa-chart-line"></i>
        <span>股权</span>
      </a>
      <a href="profile.html" class="nav-button active">
        <i class="fas fa-user"></i>
        <span>我的</span>
      </a>
    </nav>
  </div>

  <script>
    document.addEventListener('DOMContentLoaded', function() {
      // 等级标签切换
      const tabs = document.querySelectorAll('.tab');
      const benefitsGrid = document.querySelector('.benefits-grid');
      
      tabs.forEach(tab => {
        tab.addEventListener('click', function() {
          tabs.forEach(t => t.classList.remove('active'));
          this.classList.add('active');
          
          if (this.textContent === '下一级权益') {
            // 更新显示的权益
            benefitsGrid.innerHTML = `
              <div class="benefit-card">
                <div class="benefit-icon">
                  <i class="fas fa-percentage"></i>
                </div>
                <div class="benefit-details">
                  <div class="benefit-name">高级折扣</div>
                  <div class="benefit-desc">商城享9折优惠</div>
                </div>
              </div>
              <div class="benefit-card">
                <div class="benefit-icon">
                  <i class="fas fa-ticket-alt"></i>
                </div>
                <div class="benefit-details">
                  <div class="benefit-name">团队券礼包</div>
                  <div class="benefit-desc">每月赠送3张券</div>
                </div>
              </div>
              <div class="benefit-card">
                <div class="benefit-icon">
                  <i class="fas fa-users"></i>
                </div>
                <div class="benefit-details">
                  <div class="benefit-name">团队收益</div>
                  <div class="benefit-desc">享受团队1.5%提成</div>
                </div>
              </div>
              <div class="benefit-card">
                <div class="benefit-icon">
                  <i class="fas fa-award"></i>
                </div>
                <div class="benefit-details">
                  <div class="benefit-name">团长特权</div>
                  <div class="benefit-desc">优先获得限量商品</div>
                </div>
              </div>
            `;
          } else {
            // 恢复原来的权益
            benefitsGrid.innerHTML = `
              <div class="benefit-card">
                <div class="benefit-icon">
                  <i class="fas fa-percentage"></i>
                </div>
                <div class="benefit-details">
                  <div class="benefit-name">专属折扣</div>
                  <div class="benefit-desc">商城享95折优惠</div>
                </div>
              </div>
              <div class="benefit-card">
                <div class="benefit-icon">
                  <i class="fas fa-ticket-alt"></i>
                </div>
                <div class="benefit-details">
                  <div class="benefit-name">额外赠券</div>
                  <div class="benefit-desc">每月额外赠送1张</div>
                </div>
              </div>
              <div class="benefit-card">
                <div class="benefit-icon">
                  <i class="fas fa-shipping-fast"></i>
                </div>
                <div class="benefit-details">
                  <div class="benefit-name">优先发货</div>
                  <div class="benefit-desc">订单优先处理</div>
                </div>
              </div>
              <div class="benefit-card">
                <div class="benefit-icon">
                  <i class="fas fa-headset"></i>
                </div>
                <div class="benefit-details">
                  <div class="benefit-name">专属客服</div>
                  <div class="benefit-desc">优先接入人工客服</div>
                </div>
              </div>
            `;
          }
        });
      });
      
      // 编辑按钮功能
      document.querySelector('.edit-profile').addEventListener('click', function() {
        alert('个人资料编辑功能即将上线，敬请期待！');
      });
      
      // 查看特权按钮
      document.querySelector('.view-all').addEventListener('click', function() {
        document.querySelector('.tabs').scrollIntoView({ behavior: 'smooth' });
      });
      
      // 页面加载动画
      const mainContent = document.querySelector('.content');
      const sections = mainContent.querySelectorAll('section');
      
      sections.forEach((section, index) => {
        section.style.opacity = '0';
        section.style.transform = 'translateY(20px)';
        section.style.transition = `opacity 0.5s ease, transform 0.5s ease`;
        
        setTimeout(() => {
          section.style.opacity = '1';
          section.style.transform = 'translateY(0)';
        }, 100 + (index * 150));
      });
      
      // 添加订单状态项和功能项的点击事件
      
    });
  </script>
</body>
</html> 